package rule

func Abs[T Number](value T) T {
	if value < 0 {
		value = -value
	}
	return value
}
